﻿using System;

using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;

namespace SpecDemo
{
    [Activity(Label = "SpecDemo", MainLauncher = false, Icon = "@drawable/icon")]
    public class MainActivity :ListActivity
    {
        int count = 1;


        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            // Set our view from the "main" layout resource
            this.ListAdapter = new MainAdapter(this);
        }

        public override bool OnTouchEvent(MotionEvent e)
        {
            Toast.MakeText(this,"you dare touch me?", ToastLength.Short).Show();
            return base.OnTouchEvent(e);
        }
    }
}

